﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Advertise.ascx.cs" Inherits="webapp4U.UI.Controls.Title" %>
<%@ Import Namespace="webapp4U" %>

<table cellpadding="0" cellspacing="0">
 <asp:Repeater runat="server" ID="rptAdvertise">
    <ItemTemplate>
        <tr>
            <td valign="top">
                <a href="<%#Eval("AdvUrl")%>" target="_blank" title="<%#Eval("AdvUrl")%>">
                    <%# GetAdvertise((string)Eval("FileName"), (int)Eval("AdvWidth"), (int)Eval("AdvHeight"))%>
                </a>    
            </td>
        </tr>
    </ItemTemplate>
</asp:Repeater>
</table>